import request from '@/utils/request'

// 获取数据列表
export function fetchList(query) {
  return request({
    url: '/coupon/expire/list',
    method: 'post',
    data: query
  })
}

// 根据对象获取数据
export function findByObject(query) {
  return request({
    url: '/coupon/expire/findByObject',
    method: 'post',
    data: query
  })
}
